package magasin;

public class VenteArticle {

	private Article article;
	private int quantite;
	
	public VenteArticle(Article Art, int Quantite)
	{
		if(Art.getQuantite() < Quantite)
			Quantite = Art.getQuantite();
		
		this.article = Art;
		this.quantite = Quantite;
	}
	
	public Article getArticle()
	{
		return this.article;
	}
	
	public int getQuantite()
	{
		return this.quantite;
	}
}
